<#import "/WEB-INF/sys/js_css.html" as js />
<!DOCTYPE html>
<html>
<head>
<title>二维码名片制作</title>
<meta content="width=device-width,user-scalable=no" name="viewport">
<meta name="apple-itunes-app" content="app-id=425349261"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<link href="${ctx}/css/css.css" rel="stylesheet">
<style type="text/css">
	li{list-style-type:none;}
</style>
</head>
<body>
	<form id="qrcode_form" action="${ctx}/pub/tools/qrcode/card_make" enctype="multipart/form-data" method="post">
			<ul style="margin-top: 5%">
				<li><span style="float: left; width: 25%; margin-left:5%">头像：</span><input type="file" name="logo" id="logo" style="float: left; width: 60%; margin-left: 30%" /></li>
				<li><span style="float: left; width: 25%; margin-left:5%">姓名：</span><input type="text" name="name" id="name" style="float: left; width: 60%; margin-left: 30%" /></li>
				<li><span style="float: left; width: 25%; margin-left:5%">邮箱：</span><input type="text" name="email" id="email" style="float: left; width: 60%; margin-left: 30%" /></li>
				<li><span style="float: left; width: 25%; margin-left:5%">手机：</span><input type="text" name="modelphone" id="modelphone" style="float: left; width: 60%; margin-left: 30%" /></li>
				<li><span style="float: left; width: 25%; margin-left:5%">电话：</span><input type="text" name="phone" id="phone" style="float: left; width: 60%; margin-left: 30%" /></li>
				<li><span style="float: left; width: 25%; margin-left:5%">地址：</span><input type="text" name="address" id="address" style="float: left; width: 60%; margin-left: 30%" /></li>
				<li><span style="float: left; width: 25%; margin-left:5%">公司：</span><input type="text" name="company" id="company" style="float: left; width: 60%; margin-left: 30%" /></li>
				<li><span style="float: left; width: 25%; margin-left:5%">职务：</span><input type="text" name="duty" id="duty" style="float: left; width: 60%; margin-left: 30%" /></li>
				<li><span style="float: left; width: 25%; margin-left:5%">个人主页：</span><input type="text" name="perhomepage" id="perhomepage" style="float: left; width: 60%; margin-left: 30%" /></li>
				<li><span style="float: left; width: 25%; margin-left:5%">备注：</span><textarea rows="4" cols="20" name="bak" id="bak" style="float: left; width: 60%; margin-left: 30%"></textarea></li>
				<li><input type="button" value="生成二维码" id="btn_make_qrcode" style="width: 30%; margin-left: 35%; float: left;" /></li>
			</ul>
	</form>
</body>
</html>
<script type="text/javascript" src="${ctx}/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript">
jQuery(document).ready(function() {
	//生成二维码按钮事件
	jQuery("#btn_make_qrcode").click(function(){
		jQuery("#qrcode_form").submit();
	});
});
</script>